﻿@model projecto_asp.Models.momentoAvaliacao

@{
    ViewBag.Title = "Edit";
}

<h2>Edit</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>momentoAvaliacao</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.id_momento_avaliacao)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.id_momento_avaliacao)
            @Html.ValidationMessageFor(model => model.id_momento_avaliacao)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.id_tipo_avaliacao, "tipoAvaliacao")
        </div>
        <div class="editor-field">
            @Html.DropDownList("id_tipo_avaliacao", String.Empty)
            @Html.ValidationMessageFor(model => model.id_tipo_avaliacao)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.id_disciplina, "disciplina")
        </div>
        <div class="editor-field">
            @Html.DropDownList("id_disciplina", String.Empty)
            @Html.ValidationMessageFor(model => model.id_disciplina)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.id_docente, "docente")
        </div>
        <div class="editor-field">
            @Html.DropDownList("id_docente", String.Empty)
            @Html.ValidationMessageFor(model => model.id_docente)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.data_avaliacao)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.data_avaliacao)
            @Html.ValidationMessageFor(model => model.data_avaliacao)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.sala)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.sala)
            @Html.ValidationMessageFor(model => model.sala)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.horario)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.horario)
            @Html.ValidationMessageFor(model => model.horario)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.peso)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.peso)
            @Html.ValidationMessageFor(model => model.peso)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.observacoes)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.observacoes)
            @Html.ValidationMessageFor(model => model.observacoes)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
